Skip to content

Conversation

@fabiencastan
Copy link
Member

This pull request adds a new .codecov.yml configuration file to the project, which sets up Codecov coverage reporting and enforces quality standards without causing CI failures due to minor coverage drops. The configuration is tailored to balance coverage enforcement with developer productivity.

Codecov configuration:

  • Adds .codecov.yml to require CI to pass before processing coverage results and sets coverage thresholds for both the overall project and new code patches.
  • Specifies minimum target coverage levels (75% for the project, 70% for new code), and allows small coverage decreases (1% for project, 2% for patch) before failing CI.
  • Restricts coverage checks and PR comments to main development branches (develop, master, main).
  • Configures the PR comment layout and reporting behavior for coverage results.
  • Ignores coverage for test files, UI components, documentation, scripts, and binaries to focus coverage metrics on core code.

@codecov
Copy link

codecov bot commented Aug 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.52%. Comparing base (5dda2ac) to head (3486e09).
⚠️ Report is 164 commits behind head on develop.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2828      +/-   ##
===========================================
+ Coverage    77.46%   79.52%   +2.06%     
===========================================
  Files           48       51       +3     
  Lines         6735     6975     +240     
===========================================
+ Hits          5217     5547     +330     
+ Misses        1518     1428      -90     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@cbentejac cbentejac merged commit 000d91e into develop Sep 25, 2025
4 checks passed
@cbentejac cbentejac deleted the codecov-conf branch September 25, 2025 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants